import { combineReducers } from 'redux-immutable';

//导入需要合并的reudcer


import {reducer as loginReducer} from './loginStore'
import {reducer as studentInfoReducer} from './studentsInfoStore'
import {reducer as airInfoReducer} from './airInfoStore'
import {reducer as repairInfoReducer} from './repairInfoStore'
import {reducer as rentalInfoReducer} from './rentalInfoStore'
import {reducer as leaseWithdrawalReducer} from './leaseWithdrawalStore'



//合并reducer
const globleReducer = combineReducers({
    user: loginReducer,
    student: studentInfoReducer,
    air: airInfoReducer,
    repair: repairInfoReducer,
    rental: rentalInfoReducer,
    leaseWithdrawal: leaseWithdrawalReducer
})

export default globleReducer;